Skip to content

Shorten installation and recover Codex accounts from the web - #330

Merged
lucbocahut merged 5 commits into
mainfrom
feat/onboarding-web-handoff
Nov 6, 2026
Merged

lucbocahut merged 5 commits into
mainfrom
feat/onboarding-web-handoff

Conversation

@lucbocahut

Copy link
Copy Markdown
Contributor

What changes

The installer asks new operators to make too many low-level choices, and account recovery sends them back to a server terminal. This batch shortens installation and adds browser recovery for Codex.

  • Six default interview answers with --ssh, numbered repository/provider choices, and one editable summary. Additional operators, login methods, hostname and smoke target move to Advanced. Workflow access and SSH trust remain explicit; JSON intents and saved installations keep their contracts.
  • Announce the CLI-to-web handoff only after the server confirms acceptance. An interrupted handoff keeps its resume command.
  • Connect, reconnect and verify Codex from Connections using the existing durable device-login lifecycle. Other provider modes are clearly identified as CLI-only.
  • Preserve configured models, serialize concurrent login observations, and handle expired codes locally. Revoked operator sessions cannot read codes or start operations.

The operator audit records the remaining work: earlier GitHub consent, live acceptance and measured time to first merge. Refs #271 and #259; neither closes here. Mac hosting remains separate.

Validation

  • Integrated Python batch: 271 tests passed across installation, handoff, account/API, harness and operator-auth modules.
  • After review fixes: 97 account/setup/harness tests and 12 provider-login/sandbox tests passed, including real-lock concurrent observation and recovery.
  • UI typecheck and production build passed. Browser recovery, account-alert and CLI-provider journeys passed; recovery covers expired authentication, stalled-poll code expiry, retry, reload and 320/390px layouts.

No live accounts or server configuration were changed. Clean-install acceptance remains outstanding.

@lucbocahut
lucbocahut merged commit 293ce8a into main Nov 6, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant